package cn.okcode.slowjson.ast;

import cn.okcode.slowjson.parser.Visitor;

/**
 * @author pyk13
 */
public class NullNode extends AbstractNode<Object> {
    private final Object value = null;

    @Override
    public Object getValue() {
        return value;
    }

    @Override
    public String stringValue() {
        return "null";
    }

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}
